GET API/Bookings?numeroPagina={numeroPagina}&tamanhoPagina={tamanhoPagina}&id={id}&nbr={nbr}&vesselVisit={vesselVisit}&lineOperators[0]={lineOperators[0]}&lineOperators[1]={lineOperators[1]}

Retorna uma lista de bookings que atendem ao parâmetros passados.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
numeroPagina

integer

Default value is 0

tamanhoPagina

integer

Default value is 10

id

Identificador do Booking

integer

None.

nbr

Numero do Booking

string

None.

vesselVisit

Codigo da Vessel Visit do Booking

string

None.

lineOperators

Trigrama do Line Operator (Armador) do Booking

Collection of string

None.

Body Parameters

None.

Response Information

Resource Description

WilsonSons.Terminais.WSNegocio.Modelo.Utils.PagedListOfWilsonSons.Terminais.WSNegocio.Modelo.VwBooking
NameDescriptionTypeAdditional information
Data

Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwBooking

None.

TotalPages

integer

None.

Total

integer

None.

CurrentPage

integer

None.

PerPage

integer

None.

HasPreviousPage

boolean

None.

HasNextPage

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Id": 1,
      "Nbr": "sample string 2",
      "VesselName": "sample string 3",
      "VesselVisit": "sample string 4",
      "ViagemBerth": "sample string 5",
      "VesselDeadLine": "2025-06-06T21:29:00.931567-03:00",
      "VesselDeadLineFormat": "sample string 6",
      "LineOperator": "sample string 7",
      "LineOperatorName": "sample string 8",
      "Pod": "sample string 9",
      "PodCountry": "sample string 10",
      "Destination": "sample string 11",
      "Status": "sample string 12",
      "Quantity": 13.0,
      "QtdAgendBkn": 14.0
    },
    {
      "Id": 1,
      "Nbr": "sample string 2",
      "VesselName": "sample string 3",
      "VesselVisit": "sample string 4",
      "ViagemBerth": "sample string 5",
      "VesselDeadLine": "2025-06-06T21:29:00.931567-03:00",
      "VesselDeadLineFormat": "sample string 6",
      "LineOperator": "sample string 7",
      "LineOperatorName": "sample string 8",
      "Pod": "sample string 9",
      "PodCountry": "sample string 10",
      "Destination": "sample string 11",
      "Status": "sample string 12",
      "Quantity": 13.0,
      "QtdAgendBkn": 14.0
    }
  ],
  "TotalPages": 1,
  "Total": 2,
  "CurrentPage": 3,
  "PerPage": 4,
  "HasPreviousPage": true,
  "HasNextPage": false
}

application/xml, text/xml

Sample:
<PagedListOfVwBookingcjnqUhIs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.Utils">
  <CurrentPage>3</CurrentPage>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <d2p1:VwBooking>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:long" xmlns="">1</Id>
      <Nbr xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Nbr>
      <VesselName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 3</VesselName>
      <VesselVisit xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 4</VesselVisit>
      <ViagemBerth xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 5</ViagemBerth>
      <VesselDeadLine xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:dateTime" xmlns="">2025-06-06T21:29:00.931567-03:00</VesselDeadLine>
      <VesselDeadLineFormat xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 6</VesselDeadLineFormat>
      <LineOperator xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 7</LineOperator>
      <LineOperatorName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 8</LineOperatorName>
      <Pod xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 9</Pod>
      <PodCountry xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 10</PodCountry>
      <Destination xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 11</Destination>
      <Status xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 12</Status>
      <Quantity xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">13</Quantity>
      <QtdAgendBkn xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">14</QtdAgendBkn>
    </d2p1:VwBooking>
    <d2p1:VwBooking>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:long" xmlns="">1</Id>
      <Nbr xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Nbr>
      <VesselName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 3</VesselName>
      <VesselVisit xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 4</VesselVisit>
      <ViagemBerth xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 5</ViagemBerth>
      <VesselDeadLine xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:dateTime" xmlns="">2025-06-06T21:29:00.931567-03:00</VesselDeadLine>
      <VesselDeadLineFormat xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 6</VesselDeadLineFormat>
      <LineOperator xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 7</LineOperator>
      <LineOperatorName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 8</LineOperatorName>
      <Pod xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 9</Pod>
      <PodCountry xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 10</PodCountry>
      <Destination xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 11</Destination>
      <Status xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 12</Status>
      <Quantity xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">13</Quantity>
      <QtdAgendBkn xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">14</QtdAgendBkn>
    </d2p1:VwBooking>
  </Data>
  <PerPage>4</PerPage>
  <Total>2</Total>
  <TotalPages>1</TotalPages>
</PagedListOfVwBookingcjnqUhIs>